<div class="row-fluid">
    <div class="span12">
        <ul class="quick-actions-horizontal pull-right">
            <li>
                <a href="<?php echo Yii::app()->createAbsoluteUrl('product/admin');?>">
                    <i class="icon-plus"></i>
                    <span>Quản lý sản phẩm</span>
                </a>
            </li>
            <li>
                <a href="<?php echo Yii::app()->createAbsoluteUrl('product/create');?>">
                    <i class="icon-plus"></i>
                    <span>Thêm sản phẩm</span>
                </a>
            </li>
        </ul>
    </div>
</div>
<?php
    /* @var $this ProductController */
    /* @var $model Product */

    $this->breadcrumbs = array(
        'Products'   => array('index'),
        $model->name => array('view', 'id' => $model->id),
        'Update',
    );

    $this->menu = array(
        array('label' => 'Thêm mới', 'url' => array('create')),
        array('label' => 'Upload ảnh', 'url' => array('batchUpload')),
        array('label' => 'Danh sách', 'url' => array('admin')),
    );
?>

<h4>Sửa sản phẩm: <?php echo $model->name; ?></h4>

<?php echo $this->renderPartial('_form', array('model' => $model)); ?>
